package com.jeeplus.test.jlnu.archivalInfo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.test.jlnu.admissionInfo.domain.entity.AdmissionInfo;
import com.jeeplus.test.jlnu.admissionInfo.domain.entity.AllInfo;
import com.jeeplus.test.jlnu.archivalInfo.domain.entity.ArchParmerter;
import com.jeeplus.test.jlnu.archivalInfo.domain.vo.ArchivalInfoReqVo;
import com.jeeplus.test.postgraduate.domain.vo.PostgraduateReqVo;
import com.jeeplus.test.website.websiteFile.domain.entity.WebsiteFile;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface ArchivalInfoService {
    Page<ArchivalInfoReqVo> getArchivalInfoPage(ArchivalInfoReqVo archivalInfoReqVo, Page<ArchivalInfoReqVo> page);

    int updateArchival(ArchivalInfoReqVo archivalInfoReqVo);

    int checkStuId(String studentId);

    void addArchival(ArchivalInfoReqVo archivalInfoReqVo);

    void addAddmissionStuId(ArchivalInfoReqVo archivalInfoReqVo);

    int hanging(MultipartFile[] files, HttpServletRequest request);

    Map<String, Object> getFailedFiles(int page, int size);

    WebsiteFile queryFileById(String fileId);

    ArchivalInfoReqVo getArchivalInfoById(Integer infoId);

    List<Map<String, String>> querylist(Map param);

    List<AdmissionInfo> selectAllByOfficeId(ArchivalInfoReqVo archivalInfoReqVo);
    int batchUpdateArchiva(ArchivalInfoReqVo archivalInfoReqVo);

}
